validateAndSet
A setter method for the storedValue that first validates the value being set and then stores the post-validation result.
Flags will be ignored. Validation will be weak, listener will be called if present, and sync state will not be updated.
Return
ValidationResult of the input, after corrections, with applicable error messages.
Author
fzzyhmstrs
Since
0.1.0
Parameters
input
T. the pre-validation input of type T that will be validated and then stored, where T is the type of the wrapped value in this field.